package com.zynn.service.module.canal;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author jerry-liqi
 *
 * canal 启动
 */
@SpringCloudApplication
@EnableScheduling
@EnableFeignClients(basePackages = {"com.zynn.feign.module"})
@ComponentScan(basePackages= {"com.zynn.service.module.canal", "com.zynn.common.core", "com.zynn.message.queue"})
public class ZynnServiceModuleCanalApplication {

    public static void main(String[] args) {
        ApplicationContext app = SpringApplication.run(ZynnServiceModuleCanalApplication.class, args);
    }
}
